import mutations from './mutations';
import actions from './actions';
import getters from './getters';

const state = {
  count: 0,
  loading: false,
  totalCount: 0,
  searchParams: {
    item: 1,
    titleOrNum: '',
    erpCustomerId: '',
    datacenterid: '',
    datacentername: '',
    level: '',
    workOrderStatus: '',
    workOrderType: '',
    acceptTime: '',
    endTime: '',
    pageNum: 1,
    pageSize: 10
  },
  workOrderList: []
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
};
